<template>
  <child>
    <div slot="xxx">xxx 对应的标签结构</div>
    <div slot="yyy" ref="cc">yyyy 对应的标签结构
      <p>xxx</p>
    </div>
  </child>
</template>

<script>
import child from './Children'
export default {
  name: 'parent',
  components: {
    child
  },
  mounted: function () {
    console.log(this.$refs['cc'])
  }
}
</script>

<style scoped>

</style>
